package com.hualude.roadsign.model;

import javax.persistence.*;

/**
 * Created by xu_jiaHui on 2017/8/2.
 */
@Entity
@Table(name = "tb_signal_lamp", schema = "hualude_db", catalog = "")
public class SignalLampEntity {
    private Integer signalLampId;
    private String projectNumber;
    private Integer signalLampRegionId;
    private String signalLampLongitude;
    private String signalLampLatitude;
    private String signalLampProvince;
    private String signalLampCity;
    private String signalLampArea;
    private String signalLampStartRoad;
    private String signalLampEndRoad;
    private String signalLampPhoto;
    private String signalLampType;
    private String signalLampBrand;
    private String signalLampInstallTime;
    private String signalLampInstallOrg;
    private Integer signalLampPeriod;
    private Integer signalLampServiceLife;
    private String signalLampRemark;
    private Integer signalLampCreatorId;
    private Integer signalLampModifierId;
    private Integer signalLampIsComplete;
    private Integer signalLampMainOrgId;
    private Integer signalLampOrgId;
    private String signalLampADeviceId;
    private Integer alarmCount;
    private String alarmDeviceId;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "SignalLampId")
    public Integer getSignalLampId() {
        return signalLampId;
    }

    public void setSignalLampId(Integer signalLampId) {
        this.signalLampId = signalLampId;
    }

    @Basic
    @Column(name = "ProjectNumber")
    public String getProjectNumber() {
        return projectNumber;
    }

    public void setProjectNumber(String projectNumber) {
        this.projectNumber = projectNumber;
    }

    @Basic
    @Column(name = "SignalLampRegionId")
    public Integer getSignalLampRegionId() {
        return signalLampRegionId;
    }

    public void setSignalLampRegionId(Integer signalLampRegionId) {
        this.signalLampRegionId = signalLampRegionId;
    }

    @Basic
    @Column(name = "SignalLampLongitude")
    public String getSignalLampLongitude() {
        return signalLampLongitude;
    }

    public void setSignalLampLongitude(String signalLampLongitude) {
        this.signalLampLongitude = signalLampLongitude;
    }

    @Basic
    @Column(name = "SignalLampLatitude")
    public String getSignalLampLatitude() {
        return signalLampLatitude;
    }

    public void setSignalLampLatitude(String signalLampLatitude) {
        this.signalLampLatitude = signalLampLatitude;
    }

    @Basic
    @Column(name = "SignalLampProvince")
    public String getSignalLampProvince() {
        return signalLampProvince;
    }

    public void setSignalLampProvince(String signalLampProvince) {
        this.signalLampProvince = signalLampProvince;
    }

    @Basic
    @Column(name = "SignalLampCity")
    public String getSignalLampCity() {
        return signalLampCity;
    }

    public void setSignalLampCity(String signalLampCity) {
        this.signalLampCity = signalLampCity;
    }

    @Basic
    @Column(name = "SignalLampArea")
    public String getSignalLampArea() {
        return signalLampArea;
    }

    public void setSignalLampArea(String signalLampArea) {
        this.signalLampArea = signalLampArea;
    }

    @Basic
    @Column(name = "SignalLampStartRoad")
    public String getSignalLampStartRoad() {
        return signalLampStartRoad;
    }

    public void setSignalLampStartRoad(String signalLampStartRoad) {
        this.signalLampStartRoad = signalLampStartRoad;
    }

    @Basic
    @Column(name = "SignalLampEndRoad")
    public String getSignalLampEndRoad() {
        return signalLampEndRoad;
    }

    public void setSignalLampEndRoad(String signalLampEndRoad) {
        this.signalLampEndRoad = signalLampEndRoad;
    }

    @Basic
    @Column(name = "SignalLampPhoto")
    public String getSignalLampPhoto() {
        return signalLampPhoto;
    }

    public void setSignalLampPhoto(String signalLampPhoto) {
        this.signalLampPhoto = signalLampPhoto;
    }

    @Basic
    @Column(name = "SignalLampType")
    public String getSignalLampType() {
        return signalLampType;
    }

    public void setSignalLampType(String signalLampType) {
        this.signalLampType = signalLampType;
    }

    @Basic
    @Column(name = "SignalLampBrand")
    public String getSignalLampBrand() {
        return signalLampBrand;
    }

    public void setSignalLampBrand(String signalLampBrand) {
        this.signalLampBrand = signalLampBrand;
    }

    @Basic
    @Column(name = "SignalLampInstallTime")
    public String getSignalLampInstallTime() {
        return signalLampInstallTime;
    }

    public void setSignalLampInstallTime(String signalLampInstallTime) {
        this.signalLampInstallTime = signalLampInstallTime;
    }

    @Basic
    @Column(name = "SignalLampInstallOrg")
    public String getSignalLampInstallOrg() {
        return signalLampInstallOrg;
    }

    public void setSignalLampInstallOrg(String signalLampInstallOrg) {
        this.signalLampInstallOrg = signalLampInstallOrg;
    }

    @Basic
    @Column(name = "SignalLampPeriod")
    public Integer getSignalLampPeriod() {
        return signalLampPeriod;
    }

    public void setSignalLampPeriod(Integer signalLampPeriod) {
        this.signalLampPeriod = signalLampPeriod;
    }

    @Basic
    @Column(name = "SignalLampServiceLife")
    public Integer getSignalLampServiceLife() {
        return signalLampServiceLife;
    }

    public void setSignalLampServiceLife(Integer signalLampServiceLife) {
        this.signalLampServiceLife = signalLampServiceLife;
    }

    @Basic
    @Column(name = "SignalLampRemark")
    public String getSignalLampRemark() {
        return signalLampRemark;
    }

    public void setSignalLampRemark(String signalLampRemark) {
        this.signalLampRemark = signalLampRemark;
    }

    @Basic
    @Column(name = "SignalLampCreatorId")
    public Integer getSignalLampCreatorId() {
        return signalLampCreatorId;
    }

    public void setSignalLampCreatorId(Integer signalLampCreatorId) {
        this.signalLampCreatorId = signalLampCreatorId;
    }

    @Basic
    @Column(name = "SignalLampModifierId")
    public Integer getSignalLampModifierId() {
        return signalLampModifierId;
    }

    public void setSignalLampModifierId(Integer signalLampModifierId) {
        this.signalLampModifierId = signalLampModifierId;
    }

    @Basic
    @Column(name = "SignalLampIsComplete")
    public Integer getSignalLampIsComplete() {
        return signalLampIsComplete;
    }

    public void setSignalLampIsComplete(Integer signalLampIsComplete) {
        this.signalLampIsComplete = signalLampIsComplete;
    }

    @Basic
    @Column(name = "SignalLampMainOrgId")
    public Integer getSignalLampMainOrgId() {
        return signalLampMainOrgId;
    }

    public void setSignalLampMainOrgId(Integer signalLampMainOrgId) {
        this.signalLampMainOrgId = signalLampMainOrgId;
    }

    @Basic
    @Column(name = "SignalLampOrgId")
    public Integer getSignalLampOrgId() {
        return signalLampOrgId;
    }

    public void setSignalLampOrgId(Integer signalLampOrgId) {
        this.signalLampOrgId = signalLampOrgId;
    }

    @Basic
    @Column(name = "SignalLampADeviceId")
    public String getSignalLampADeviceId() {
        return signalLampADeviceId;
    }

    public void setSignalLampADeviceId(String signalLampADeviceId) {
        this.signalLampADeviceId = signalLampADeviceId;
    }

    @Basic
    @Column(name = "AlarmCount", nullable = true)
    public Integer getAlarmCount() {
        return alarmCount;
    }

    public void setAlarmCount(Integer alarmCount) {
        this.alarmCount = alarmCount;
    }

    @Basic
    @Column(name = "AlarmDeviceId", nullable = true, length = 20)
    public String getAlarmDeviceId() {
        return alarmDeviceId;
    }

    public void setAlarmDeviceId(String alarmDeviceId) {
        this.alarmDeviceId = alarmDeviceId;
    }
}
